/*
 * @Author: FengTeng
 * @Date: 2021-02-12 08:48:10
 * @LastEditTime: 2021-02-16 21:07:39
 * @LastEditors: FengTeng
 * @Description: Description
 * @FilePath: \spa-manage\src\main.js
 */
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import VueResource from "vue-resource";

// 引入 element-ui 组件
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

// 引入 axios
import axios from "axios";

Vue.config.productionTip = false;

Vue.use(VueResource);
// 完全引入ElementUI
Vue.use(ElementUI);
// 注册全局方法
Vue.prototype.$axios = axios;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
